package com.kehutong.work.order.manage.entity;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

@Table(value="t_work_order_manage_classify", comment="工单分类", multi=true, idType = IDType.TIMESTAMP)
public class WorkOrderManageClassify extends Entity {

    private static final long serialVersionUID = 4249401744028053472L;

    protected WorkOrderManageClassify(String id) {
        super(id);
    }

    @Column(comment = "名称")
    private String name;

    @Column(comment = "上级分类ID")
    private String parentId;

    @Column(comment = "上级分类名称")
    private String parentName;

    @Column(comment = "所属类型ID")
    private String typeId;

    @Column(comment = "所属类型名称")
    private String typeName;

    @Column(comment = "排序")
    private Integer sort;

    @Column(comment="启用状态")
    private boolean enable;

    @Column(comment = "逻辑删除")
    private boolean deleted;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
